package homework;

public class OddNum {
  
	int[] a={1,2,3,10,8,67,28,5,6,19,43};
   public void oddmeth()
   {
	System.out.println("The list of odd numbers is:");
	for(int i=0;i<a.length;i++)
	{
		if(a[i]%2==1)
			System.out.println(a[i]);
	}
}
	
}
